package br.inf.solutions.apresentacoes.ssp.control.validator;

import java.util.HashMap;
import java.util.Map;

import br.com.vexillum.util.SpringFactory;
import br.inf.solutions.apresentacoes.ssp.control.TypeWeaponController;
import br.inf.solutions.apresentacoes.ssp.control.basics.BasicFormsController;
import br.inf.solutions.apresentacoes.ssp.model.TypeWeapon;

public class TypeWeaponValidator extends BasicFormsValidator<TypeWeapon>{

	public TypeWeaponValidator(Map<String, Object> mapData) {
		super(mapData);		
	}

	@Override
	protected BasicFormsController<TypeWeapon> getController(HashMap<String, Object> data) {
		return SpringFactory.getController("typeWeaponController", TypeWeaponController.class, data);
	}
}